package com.zlm.common.dto.baidurequest;

import java.io.Serializable;

/**
 * 行政区划实体类
 * @author xhj
 */
public class AddressComponentDto implements Serializable {

    private static final long serialVersionUID = 989423588835553533L;

    /**
     * 国家
     */
    private String country;

    /**
     * 省
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 区县
     */
    private String district;

    /**
     * 乡镇
     */
    private String town;

    /**
     * 街道
     */
    private String street;

    /**
     * 街道门牌号
     */
    private String street_number;

    /**
     * 行政区划代码
     */
    private Integer adcode;

    /**
     * 国家代码
     */
    private Integer country_code;

    /**
     * 相对当前坐标点的方向，当有门牌号的时候返回数据
     */
    private String direction;

    /**
     * 相对当前坐标点的距离，当有门牌号的时候返回数据
     */
    private String distance;

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getStreet_number() {
        return street_number;
    }

    public void setStreet_number(String street_number) {
        this.street_number = street_number;
    }

    public Integer getAdcode() {
        return adcode;
    }

    public void setAdcode(Integer adcode) {
        this.adcode = adcode;
    }

    public Integer getCountry_code() {
        return country_code;
    }

    public void setCountry_code(Integer country_code) {
        this.country_code = country_code;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }
}
